package com.ferry.taskflow.taskFlow.base.enumv;

/**
 * Created by daiyong
 */
public enum TaskState {
	INIT(0),
	DOING(1),
	SUCCESS(2),
	EXCEPTION(3),
	ROLLBACK(4);

	private int code;

	TaskState(int code) {
		this.code = code;
	}

	public int getCode() {
		return code;
	}
}
